package org.lalib.entity.object;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public abstract class EItem extends EBaseEntity {

	private static final long serialVersionUID = 1L;

	private String name;
	private Date since;
	private Date till;
	private List<ECategory> categories = new ArrayList<ECategory>();

	@SuppressWarnings("rawtypes")
	private List<EHistoricalValue> values = new ArrayList<>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ECategory> getCategories() {
		return categories;
	}

	public void setCategories(List<ECategory> categories) {
		this.categories = categories;
	}

	public Date getSince() {
		return since;
	}

	public void setSince(Date since) {
		this.since = since;
	}

	public Date getTill() {
		return till;
	}

	public void setTill(Date till) {
		this.till = till;
	}

	@SuppressWarnings("rawtypes")
	public List<EHistoricalValue> getValues() {
		return values;
	}

	@SuppressWarnings("rawtypes")
	public void setValues(List<EHistoricalValue> values) {
		this.values = values;
	}
}